//Static List
#include "list.h"

template<int N>
struct staticlist
{
  typedef listnode<N> Ntype;
  listnode<N>* head;
  listnode<N>* tail;
  listnode<N>* content;
  unsigned int num;
};


template<int N>
int InitializeStaticList  (staticlist<N>* list,unsigned int num, char* (*_malloc)(unsigned int));

template<int N>
listnode<N>* FindStaticList(staticlist<N>* list,unsigned int num);

template<int N,typename T>
int UpStaticListNode(staticlist<N>* list,T* node);

template<int N>
listnode<N>* GetLastStaticListNode(staticlist<N>* list); 




